package com.xuecheng.api.media;

import com.xuecheng.api.media.qo.QueryMedia;
import com.xuecheng.api.media.vo.MediaAuditVo;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <h4>xuecheng</h4>
 * <p>运营商管理媒资</p>
 *
 * @author : by wujianming
 * @date : 2021-12-15 17:34
 **/
@Api("运营商家管理媒资信息")
public interface MediaOperationApi {

    @ApiOperation("媒资信息分页查询")
    PageVO queryMediaList(PageRequestParams page, @RequestBody QueryMedia media);

    @ApiOperation("媒资审核最终结果")
    void mediaAudit(MediaAuditVo mediaAuditVo);

    @ApiOperation("媒资预览")
    @ApiModelProperty(name="mediaId",value = "媒资id",required = true)
    String mediaPreview(Long mediaId);

}
